﻿using Alos.IRepository;
using Alos.IService;
using PetaPoco;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Alos.Entity;
using Alos.Common;

namespace Alos.Service
{
    public class ChapterService : BaseService<Chapter>, IChapterService
    {
        IChapterRepository ChapterRepository;
        public ChapterService(IChapterRepository _ChapterRepository)
        {
            ChapterRepository = _ChapterRepository;
        }
        public IEnumerable<dynamic> GetChapterByMid(int id)
        {
            return ChapterRepository.GetChapterByMid(id);
        }
    }
}
